#include <stdio.h>
int main()
{
	int day,n;
	scanf("%d",&day);
	n = day%5;
	if(n==1||n==2||n==3){
		printf("Fishing in day %d",day);
	}else{
		printf("Drying in day %d",day);
	}return 0;

}
